﻿using System;
using System.Web.UI;
using Castle.Windsor;

namespace HttpModuleInjection {
    public partial class _Default : Page {
        protected void Page_Load(object sender, EventArgs e) {
            var container = (Context.ApplicationInstance as IContainerAccessor).Container;
            var s = container.Resolve<Service>();
            Response.Write(s.RawUrl);
        }
    }
}